package com.mtnz.njk.Mapper;

import com.mtnz.njk.entity.ResearchEntity;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
* @Description:    研究院帖子接口
* @Author:         ZPX
* @CreateDate:     2019/7/11 15:24
* @Version:        1.0
*/
@org.apache.ibatis.annotations.Mapper
public interface ResearchMapper extends Mapper<ResearchEntity> {

    //展示商品对应的帖子内容
    List<ResearchEntity> showResearch(@Param("productId") String productId, @Param("dateStatus") String dateStatus) throws Exception;

    //展示商品对应的帖子内容
    List<ResearchEntity> topResearch(String productId) throws Exception;

    //获取研究院内容
    ResearchEntity showListResearch(String researchId);
}
